package com.itheima.service;

import com.itheima.pojo.Brand;
import com.itheima.pojo.pagebean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BrandService {
    List<Brand>selectAll();

    void add(Brand brand);

    void deleteByIds(int[]ids);

    pagebean<Brand> selectByPage( int currentPage,  int pageSize);

    pagebean<Brand> selectByPageandCondition(int currentPage, int pageSize, Brand brand);

}
